using System;

namespace Qplus.protocol
{
    /**
     * 
     * 结束回话应答
     * 
     *
     */
    public class U2C_RESP_SESSION_END : InPacket
    {

        /**
         * 应用id
         */
        private long appID;
        /**
         * 会话id
         */
        private long sessionID;
        /**
         * 结果
         */
        private int result;


        protected override void parseBody(byte[] data, int offset, int count)
        {
            appID = get4(data);
            sessionID = get4(data);
            result = get1(data);
        }

        public long getAppID()
        {
            return appID;
        }

        public void setAppID(long appID)
        {
            this.appID = appID;
        }

        public long getSessionID()
        {
            return sessionID;
        }

        public void setSessionID(long sessionID)
        {
            this.sessionID = sessionID;
        }

        public int getResult()
        {
            return result;
        }

        public void setResult(int result)
        {
            this.result = result;
        }

    }
}
